str = input("输入你想要输入的数据：")
Hfile = open("D:/hello.txt","w")
Hfile.write(str)